<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of LinkBean
 *
 * @author jhonny
 */
class LinkTag {
    private $href;
    private $rel;
    private $type;
    public function LinkTag(){
    }

    public function getHref() {
        return $this->href;
    }

    public function setHref($href) {
        $this->href = $href;
    }

    public function getRel() {
        return $this->rel;
    }

    public function setRel($rel) {
        $this->rel = $rel;
    }

    public function getType() {
        return $this->type;
    }

    public function setType($type) {
        $this->type = $type;
    }


    public function toString() {
        $value = '    ';
        $value.= '<link href="' . $this->getHref() . '" rel="' . $this->getRel() . '" type="' . $this->getType() . '" />';
        return $value;
    }
}
?>
